LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AddRange Method
See Also 
Leadtools Namespace > RasterCollection<T> Class : AddRange Method



collection
The System.Collections.ICollection whose elements should be added to the end of the collection.
collection
The System.Collections.ICollection whose elements should be added to the end of the collection.
Adds the elements of an System.Collections.ICollection to the end of the collection.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub AddRange( _
   ByVal collection As ICollection(Of T) _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCollection(Of T)
Dim collection As ICollection(Of T)
 
instance.AddRange(collection)
C# 
public virtual void AddRange( 
   ICollection<T> collection
)
C++/CLI 
public:
virtual void AddRange( 
   ICollection<T^>^ collection
) 

Parameters

collection
The System.Collections.ICollection whose elements should be added to the end of the collection.

Example

For an example, refer to RasterCollection<T>.

Remarks

The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference (Nothing).

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also